/**
 * 
 */
package org.picWeb.view.ajax;

import org.picWeb.view.service.PicIndexTblActionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Administrator
 * @version 1.0 org.picWeb.view.ajax/PicIndexAjax.java 2011-7-4
 */
@Service("picIndexAjax")
public class PicIndexAjax {

	@Autowired
	private PicIndexTblActionService picIndexTblActionService;

	public boolean deleteDetail(String id, String[] imgPaths) {
		try {
			picIndexTblActionService.deleteDetail(id, imgPaths);
		} catch (Exception e) {
			e.printStackTrace();
			return false;
		}

		return true;
	}
}
